package cn.dceast.former.dao;

import cn.dceast.common.generator.MyMapper;
import cn.dceast.former.model.EyeImg;
import org.apache.ibatis.annotations.Mapper;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

@Mapper
public interface EyeImgMapper {
    int deleteByPrimaryKey(Integer id);

    int insertSelective(EyeImg record);

    EyeImg selectByPrimaryKey(Integer id);

    int updateByPrimaryKey(EyeImg record);

    Map selectNameById(Integer id);

    List<Map> selectAllSetting(Integer modelId);

    List<Map> getSum(HashMap map);

    List<Map> getCount(HashMap params);

    List<Map> getData(HashMap params);

    int checkHaveSettingName(EyeImg eyeImg);

    int checkHaveSameName(EyeImg eyeImg);
}